﻿namespace EFMLEditor.Pages
{
    using System.Windows.Forms;

    using Creek.UI.Options;

    using EFMLEditor.Pages.PropertyPages;

    using TabPage = Creek.UI.Options.TabPage;

    public partial class PropertiesPage : UserControl
    {
        public PropertiesPage()
        {
            this.InitializeComponent();

            var alP = new TabPage();
            alP.Dock = DockStyle.Fill;
            alP.Controls.Add(new MainPage());

            var buildP = new TabPage();
            buildP.Dock = DockStyle.Fill;
            buildP.Controls.Add(new BuildActions());

            var resP = new TabPage();
            resP.Dock = DockStyle.Fill;
            resP.Controls.Add(new ResourcePage());

            this.projectProperties1.TabItems.Add(new TabItem("Application", alP));
            this.projectProperties1.TabItems.Add(new TabItem("Buildevents", buildP));
            this.projectProperties1.TabItems.Add(new TabItem("Resources", resP));
            this.projectProperties1.TabItems.Add(new TabItem("Signing"));

            this.projectProperties1.TabIndex = 0;
            this.projectProperties1.AddCurrentTabPage(alP);
        }
    }
}